<template>
   <div class="follow">
            <span class="time">{{postData.create_date.split('T')[0]}} {{postData.create_date.split('T')[1].split('.')[0]}}</span>
            <p class="text">{{postData.content}}</p>
            <div class="original">
                <span>原文: {{postData.post.title}}</span>
                <a href="#" class="iconfont iconjiantou1"></a>
            </div>
        </div>
</template>

<script>
export default {
    props:['postData'],

    // created(){
    //     console.log(this.postData);
    // }

}
</script>

<style lang="less" scoped>
 .follow {
      padding: 10/360*100vw  20/360*100vw 10/360*100vw;
      color: #afafaf;
      border-bottom: 1/360*100vw solid #ababab;
        .text {
            margin: 20/360*100vw 0;
            color: #000;
            
        }
        .original {
            display: flex;
            justify-content: space-between;
            font-size: 12/360*100vw;
            span {
                text-overflow: -o-ellipsis-lastline;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
            }
        }
 }
</style>>
